#ifndef __SONG_OF_WARDRUM_H__
#define __SONG_OF_WARDRUM_H__
#include "gofgame/dungeonkeeper/game/Skill.h"
#include "gofgame/dungeonkeeper/game/skill/Buffer.h"
#include "gofgame/dungeonkeeper/game/Unit.h"

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			namespace skill {
				class SongOfWardrum :public Skill{
				public:
					SongOfWardrum(int lv);
					virtual void cast();
					static SongOfWardrum * create(int lv);
					bool init();
					void updateTarget(float dt);
					void addEffectToTarget(Unit *unit);
				};

				class SongOfWardrumBuffer : public Buffer {
				public :
					bool init();
					CREATE_FUNC(SongOfWardrumBuffer);
					void effect(Unit *unit);
					void update(float dt);
				};
			}
		}
	}
}

#endif //__SONG_OF_WARDRUM_H__
